package com.sz.stock.model;

import java.math.BigDecimal;

public class StockOhcl {
    private Integer stockchangeId;

    private String stockCode;

    private BigDecimal stockchangeOpen;

    private BigDecimal stockchangeHigh;

    private BigDecimal stockchangeClose;

    private BigDecimal stockchangeLow;

    private Integer stockId;

    private BigDecimal stockNewprice;

    private String stockNowtime;

    public StockOhcl(Integer stockchangeId, String stockCode, BigDecimal stockchangeOpen, BigDecimal stockchangeHigh, BigDecimal stockchangeClose, BigDecimal stockchangeLow, Integer stockId, BigDecimal stockNewprice, String stockNowtime) {
        this.stockchangeId = stockchangeId;
        this.stockCode = stockCode;
        this.stockchangeOpen = stockchangeOpen;
        this.stockchangeHigh = stockchangeHigh;
        this.stockchangeClose = stockchangeClose;
        this.stockchangeLow = stockchangeLow;
        this.stockId = stockId;
        this.stockNewprice = stockNewprice;
        this.stockNowtime = stockNowtime;
    }

    public StockOhcl() {
        super();
    }

    public Integer getStockchangeId() {
        return stockchangeId;
    }

    public void setStockchangeId(Integer stockchangeId) {
        this.stockchangeId = stockchangeId;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode == null ? null : stockCode.trim();
    }

    public BigDecimal getStockchangeOpen() {
        return stockchangeOpen;
    }

    public void setStockchangeOpen(BigDecimal stockchangeOpen) {
        this.stockchangeOpen = stockchangeOpen;
    }

    public BigDecimal getStockchangeHigh() {
        return stockchangeHigh;
    }

    public void setStockchangeHigh(BigDecimal stockchangeHigh) {
        this.stockchangeHigh = stockchangeHigh;
    }

    public BigDecimal getStockchangeClose() {
        return stockchangeClose;
    }

    public void setStockchangeClose(BigDecimal stockchangeClose) {
        this.stockchangeClose = stockchangeClose;
    }

    public BigDecimal getStockchangeLow() {
        return stockchangeLow;
    }

    public void setStockchangeLow(BigDecimal stockchangeLow) {
        this.stockchangeLow = stockchangeLow;
    }

    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public BigDecimal getStockNewprice() {
        return stockNewprice;
    }

    public void setStockNewprice(BigDecimal stockNewprice) {
        this.stockNewprice = stockNewprice;
    }

    public String getStockNowtime() {
        return stockNowtime;
    }

    public void setStockNowtime(String stockNowtime) {
        this.stockNowtime = stockNowtime == null ? null : stockNowtime.trim();
    }
}